Added default connect_timeout in cluster config#16453
Conversation
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
|
@mk46 looks good, but i would like to check that it really is required afaict from quick grep all of the config has this setting - so it seems like it is required as @daixiang0 has found - i would like to confirm this 100% the other thing im wondering is if it isnt marked required already in the api - is the problem with the (api) docs or should it have some default in the actual code cc @htuch |
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
|
@mk46 not sure why exactly - but looks like CI doesnt like this change |
|
I had fixed the CI error in |
|
not 100% sure but looking here https://dev.azure.com/cncf/envoy/_build/results?buildId=75433&view=logs&j=8c169225-0ae8-53bd-947f-07cb81846cb5&t=6b0ace90-28b2-51d9-2951-b1fd35e67dec&l=21656 ...it looks to me like making this required is also enforcing for xDS (eds) and not just bootstrap config - afaict whatever the situation with bootstrap it looks as though its not currently required for non-boostrap config of clusters |
|
Can this be tested somehow? |
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
|
Hi @lizan, I have added a unit test for checking the default value. Please take a look. |
|
/retest |
|
Retrying Azure Pipelines: |
|
I am not sure why GCC is failing, which is not related to current changes. |
its a problem on main - its being worked on here #16484 |
|
/retest |
|
Retrying Azure Pipelines: |
wrowe
left a comment
There was a problem hiding this comment.
This change is solid, but missing docs of the new default. Perhaps just a tracking issue to ensure the docs are refreshed if this is merged first?
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto.html
https://www.envoyproxy.io/docs/envoy/latest/faq/configuration/timeouts
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
|
docs rendered here https://storage.googleapis.com/envoy-pr/16453/docs/index.html |
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar manish.kumar1@india.nec.com
Added default value of 5s for connect_timeout in the cluster config
Fixes #16439
Fixes #16583